function sum(...nums: number[]): number {
    let total = 0
    for (const num of nums) {
        total += num
    }
    return total
}
function log(...datas: any[]): string {
    console.log(datas);
    return datas.join('')
}

const a = log(1, 2, 3, 4, 5, 'acdcdcd')
console.log(a);

export { }